package cn.yh.springbootjwt.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "分页响应参数")

public class TableDataInfo<T> {
    @ApiModelProperty(value = "状态码")
    private Integer code;
    @ApiModelProperty(value = "提示信息")
    private String msg;
    @ApiModelProperty(value = "分页数据")
    private T rows;
    @ApiModelProperty(value = "总记录数")
    private Long total;
}
